package com.product.statemachine.order.event;

import com.product.statemachine.order.event.enums.OrderEventEnums;

/**
 * @author caoxingming
 */
public class OrderDeliveryEvent{

//
//    public OrderDeliveryEvent() {
//        super();
//        this.sourceState = OrderEventEnums.DELIVERY_ORDER.getSourceState();
//        this.targetState = OrderEventEnums.DELIVERY_ORDER.getTargetState();
//        this.eventName = OrderEventEnums.DELIVERY_ORDER.getEventName();
//        this.eventDesc = OrderEventEnums.DELIVERY_ORDER.getEventDesc();
//    }
//
//    @Override
//    public String toString() {
//        return "OrderDeliveryEvent{" +
//                "timestamp=" + timestamp +
//                ", eventName='" + eventName + '\'' +
//                ", eventDesc='" + eventDesc + '\'' +
//                ", sourceState=" + sourceState +
//                ", targetState=" + targetState +
//                ", changeState=" +  this.getChangeState() +
//                '}';
//    }
}
